package windbell.domain.risk;

import edu.fudan.mylang.pf.query.IPagedCriteria;
import edu.fudan.mylang.pf.query.QueryImplementation;
import java.util.Date;
import windbell.domain.risk.RiskCheckSource;
import windbell.domain.risk.RiskCheckSourceType;
import windbell.domain.risk.impl.RiskCheckSourceCriteriaImpl;

@QueryImplementation(implementBy = RiskCheckSourceCriteriaImpl.class)
public interface RiskCheckSourceCriteria extends IPagedCriteria<RiskCheckSource> {
  public abstract RiskCheckSourceType getType();
  
  public abstract RiskCheckSourceCriteria setType(final RiskCheckSourceType type);
  
  public abstract Date getDateFrom();
  
  public abstract RiskCheckSourceCriteria setDateFrom(final Date dateFrom);
  
  public abstract Date getDateTo();
  
  public abstract RiskCheckSourceCriteria setDateTo(final Date dateTo);
}
